Search:
This Site
Wiki
Home
Forum
Documentation
Videos
Bug Tracker
Wiki
Login
You are here:
Wiki :: List
Twitter Feed
Xataface Maillist
Sign up to receive the Xataface news letter with weekly updates and development tips.
Email:
Export CSV
Export XML
RSS
Found 135 records
Prev
1
2
3
4
5
Next
Showing
Results per page
Page name
Page id
Page title
Content
Keywords
Language
Original page
Cached_permissions
179
Cached Permissions
==Cached Permissions== ===Introduction=== When you insert a SQL query in your getPermissions function, this will slow down the app dramatically because this function is called by each query. To resolve this problem, it is better to use cached permissi
permissions, cache, quick, query
en
viewable_editable_fields
180
How to make a field editable for some users and only viewable for some other users
If we want only some users to edit a field and some other users only to view that field, then we need to define a '''fieldX__permissions()''' method for that field which gives desired permissions for specific users. One solution is as below. ==permi
en
after_action_activate
181
after_action_activate Delegate Class Method
Return to [[Application Delegate Class]] [[toc]] The '''after_action_activate''' hook is a method that can be defined in the [[Application Delegate Class]] which is called after an account has been activated via the registration process. The full
Registration, activation, register, activate, users
en
column:legend
182
en
advmultiselect
183
en
loginFailed
184
loginFailed() Application Delegate Trigger
[[toc]] The loginFailed() method of the Application Delegate class is executed after a failed login attempt. '''Available since 2.0.1''' ==Example== function loginFailed($username, $userIp, $time){ error_log("Failed login for user
login permissions failed password
en
index_page
1
index_page
==Documentation== [[toc]] ===Introductory=== * [[about|About Xataface]] * [http://xataface.com/documentation/tutorial/getting_started Getting Started Tutorial] * [[How to build a PHP MySQL Application with 4 lines of code]] * [[Troubleshooting
en
0
testpage2
2
testpage2
Another test page [[testpage]]
en
0
fields.ini_file
3
fields.ini_file
==fields.ini File Reference== [[toc]] ===Overview=== The fields.ini file is a configuration file which is associated with a single table of a database application. It provides metadata about the table's fields to help Xataface dictate how they s
fields.ini directives
en
0
widget:type
4
widget:type
==widget:type Directive Reference== The widget:type directive in the [[fields.ini file]] specifies the type of widget that should be used to edit a particular field in HTML forms. Xataface uses [http://pear.php.net/package/HTML_QuickForm/ HTML_QuickFo
en
0
valuelists.ini_file
5
valuelists.ini_file
==valuelists.ini file Reference== [[toc]] The valuelists.ini file stores value lists that can be used as [[vocabulary|vocabularies]] for select lists, checkbox groups, and other widgets the provide the user with options to choose from. Each table
valuelists, dynamic valuelists, programmatically defined valuelists
en
0
actions.ini_file
6
actions.ini_file
==actions.ini file Reference== [[toc]] The actions.ini file stores information about the various [[action]]s that can be performed by your application. An action may be manifested in two ways: # As a web page # As a menu item And there is no
en
0
Delegate_class_methods
7
Delegate_class_methods
==Delegate Class Reference== [[toc]] A delegate class is a PHP class that complements a particular table with custom bahaviors. Basic table metadata can be supplied using the [[fields.ini file]], however some things are better customized using PHP.
RSS,Feeds,delegate classes, triggers
en
0
Internet_Media_Manager
8
Internet Media Manager
'''Manage your videos and photos all in one place''' [[toc]] ===Watch the Guided Tour (6 minutes)===
Internet Media Manager,resize photos,image gallery,photo gallery,video gallery
en
0
__prefs__
9
__prefs__
==__prefs__ fields.ini Section== A global section of the [[fields.ini file]] that sets the preferences for the given table and its records. E.g. [__prefs__] hide_posted_by=1 ; Hides the "Posted by" text in glance lists (e.g. related re
en
0
preferences
10
preferences
==Xataface Preferences== [[toc]] Xataface preferences can be defined in 3 ways: # In the ''[_prefs]'' section of rhe [[conf.ini file]] for global static preferences. # Implementing the [[getPreferences]] method in the [[Application Delegate Clas
preferences, prefs, getPreferences
en
0
block__blockname
11
block__blockname
===Available Blocks=== This is a grep to show the blocks that are defined in Xataface templates: * Dataface_ActionsMenu.html:actions_menu_head * Dataface_ActionsMenu.html:actions_menu_tail * Dataface_Add_Existing_Related_Record.html:before_add_exi
en
0
Application_Delegate_Class
12
Application Delegate Class
[[toc]] ===Synopsis=== The application delegate class is similar to the [[Delegate_class_methods|table_delegate_class]] except that it is applicable to the application as a whole, not just one table. It allows the developer to implement hooks that
application delegate class
en
0
beforeRegister
13
beforeRegister
==beforeRegister() Trigger== A trigger that can be implemented in the [[Application Delegate Class]] or the [[Table Delegate Class]], to be executed before the registration form is saved. This can be used to perform some custom actions like emailing t
en
0
afterRegister
14
afterRegister
==afterRegister() Trigger== A trigger that can be implemented in the [[Application Delegate Class]] or the [[Table Delegate Class]], to be executed after the registration form is saved. This can be used to perform some custom actions like emailing the
en
0
validateRegistrationForm
15
validateRegistrationForm
==validateRegistrationForm() hook== A hook that validates the input into the user registration form to make sure that the input is valid. ===Signature=== function validateRegistrationForm( array $values ) : mixed ====Parameters==== {| class
en
0
sendRegistrationActivationEmail
16
sendRegistrationActivationEmail
==sendRegistrationActivationEmail() Hook== A hook that can be implemented in the [[Application Delegate Class]] or the [[Table Delegate Class]] to override the sending of an activation email to the user. ===Signature=== function sendRegistrationA
en
0
getRegistrationActivationEmailInfo
17
getRegistrationActivationEmailInfo
==getRegistrationActivationEmailInfo() Hook== A hook that can be implemented in the [[Application Delegate Class]] or the [[Table Delegate Class]] to override the default information that is used to send the registration activation email (the email tha
en
0
getRegistrationActivationEmailSubject
18
getRegistrationActivationEmailSubject
==getRegistrationActivationEmailSubject() Hook== A hook that can be implemented in the [[Application Delegate Class]] or the [[Table Delegate Class]] to override the default registration activation email subject line (the email that the user receives w
en
0
getRegistrationActivationEmailMessage
19
getRegistrationActivationEmailMessage
==getRegistrationActivationEmailSubject() Hook== A hook that can be implemented in the [[Application Delegate Class]] or the [[Table Delegate Class]] to override the default registration activation email message body (the email that the user receives w
en
0
relationships.ini_file
20
relationships.ini_file
==relationships.ini File Reference== [[toc]] ===Overview=== The relationship.ini file is a configuration file which is associated with a single table of a database application. It provides metadata about the table's relationships to other tables
relationships.ini file, relationships
en
0
authentication
21
authentication
==Xataface Authentication== [[toc]] Xataface comes with authentication ready to roll out of the box. With a couple of [[_auth|configuration options]] in the [[conf.ini file]], you can activate the default authentication scheme which uses a table (o
authentication, [_auth], CAS Authentication, Authentication Modules, Basic Authentication, Security
en
0
Writing_Custom_Authentication_Plugins
22
Writing_Custom_Authentication_Plugins
==Writing a Custom Authentication Plugin for Xataface== [[toc]] Xataface has a pluggable [[authentication]] framework that allows you to easily write your own custom [[authentication]] modules to tie in with other systems. Several plugins have alre
en
0
xataface_templates
23
xataface_templates
==Xataface Templates== [[toc]] Xataface uses the [http://smarty.php.net Smarty Template Engine] to power all of its templates. Templates are stored in the one of the following locations: * %XATAFACE_ROOT%/Dataface/templates * %SITE_ROOT%/templa
templates, plugins, smarty
en
0
templates:tags:use_macro
24
templates:tags:use_macro
==use_macro Template Tag== ===Synopsis=== The use_macro tag includes another template into the current template with the option to override certain sections. ===Parameters=== {| class="listing listing2" |- ! Name ! Description ! Version |
en
0
Found 135 records
Prev
1
2
3
4
5
Next
Showing
Results per page
Powered by Xataface
(c) 2005-2010 All rights reserved