Function Reference

Navigation:  Development >

Function Reference

Previous pageReturn to chapter overviewNext page

appRain offer a set of predefine functions to help your coding.
 

i.Common Callbacks

1.before_render

2.after_render

3.before_addon_load

4.after_addon_load

5.before_adminpanel_render

6.after_adminpanel_render

7.before_information_set_save

8.after_information_set_save

9.on_information_set_delete

10.on_information_set_view

11.on_uri_definition_init

ii.Model

1.Find

2.findByField

3.findAll

4.findAllByField

5.countEntry

6.Custom_Query

7.Delete

8.deleteByField

9.Describe

10.Paging

11.Save

iii.InformationSet

1.Find

2.FindByField

3.findAll

4.findAllByField

5.Paging

6.idToName

7.oneDArray

8.countEntry

9.Save

10.Delete

11.DeleteByField

12.Tag

13.Export

iv.CategorySet

1.find

2.findByField

3.findAll

4.findAllByField

5.Listing

6.getRecursive

7.Parents

8.Tag

9.Save

v.Module

1.ACL

a.hasAccess

b.readAccess

c.Register

d.readNAVAccess

2.Cache

a.Delete

b.Exists

c.Read

d.Write

3.Cookie

a.Read

b.Write.

4.Cryptography

a.jsonEncode

b.jsonDecode

c.Encrypt

d.checkEncrypt

e.randomNumber

f.Mask

5.DBImExport

a.Export

b.Import

6.Ftp

a.Connect

b.Login

c.Quit

d.rawList

e.parseListing

f.SetType

g.SetServer

h.SetTimeout

i.Pwd

j.Cdup

k.chDir

l.rmDir

m.mkDir

n.Rename

o.fileSize

p.Abort

q.Mdtm

r.sysType

s.Delete

t.Site

u.chMod

v.nList

w.is_Exists

x.file_Exists

y.Get

z.Put

aa.mPut

ab.mGet

ac.mDel

7.Remote

a.addField

b.addPost

c.Execute

8.Session

a.Write

b.Read

c.Delete

d.Exists

e.Push

f.Pop

9.Zip

a.Compress

b.Extract

c.Save

vi.Helpers

1.Config

a.baseDir

b.baseUrl

c.filemanagerDir

d.filemanagerUrl

e.getProtocol

f.getServerInfo

g.isHomePage

h.Redirect

i.rootDir

j.siteInfo

k.Setting

l.skinDir

m.Transfer

2.Date

a.date2MicroTime

b.dateDifference

c.dateFormated

d.getDate

e.getTime

f.getTimeZoneList

3.Html

a.addCSS

b.addJavaScript

c.buttonTag

d.capachaTag

e.ccExpireDate

f.checkboxTag

g.countryTag

h.dateDDTag

i.dateTag

j.dateTimeTag

k.fileTag

l.getTag

m.hiddenTag

n.imageButtonTag

o.imgDTag

p.imgTag

q.inputTag

r.linkTag

s.modelTag

t.numberTag

u.passwordTag

v.radioTag

w.selectDefaultValue

x.selectTag

y.submitTag

z.textareaTag

4.Log

a.Write

b.readFullLog

c.Clear

5.Utility

a.arrayPaginator

b.callElementByPath

c.checkFile

d.codeFormated

e.convertArrayToCsvString

f.convertArrayToXML

g.Copy

h.countryCodetoname

i.createDir

j.createFile

k.createThumb

l.deleteFile

m.dirFullCopy

n.dirFullRemove

o.Download

p.downloadInline

q.fetchFile

r.get1DArr

s.getCommonVar

t.getDirLising

u.getExt

v.getFullDirLising

w.getName

x.getPercentage

y.HexToRGB

z.Mailing

aa.multiArraySort

ab.overwriteFile

ac.parsePHP

ad.RGBToHex

ae.saveFileContent

af.text2normalize

ag.Upload

6.Validation

a.alphaNumeric

b.Boolean

c.Cc

d.Email

e.inList

f.isDoc

g.isImage

h.isNumber

i.isPDF

j.maxLength

k.minLength

l.notEmpty

m.Password

n.Unique

o.uniqueInformation