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
1
2
3
4
5
Next
Showing
Results per page
Page name
Page id
Page title
Content
Keywords
Language
Original page
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
advmultiselect
183
en
column:legend
182
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
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
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
Clean_the_html_for_the_export
178
Clean the HTML to export data
==Clean HTML tags and entities to export your data== #Override the display() of the field to strip the tags... but this would affect all parts of the application where the HTML fields are displayed. #Create a grafted field, then override its display to
en
test_page_34
177
Hello World
Hello world
en
Grafted_fields
158
Grafted fields
==Grafted Fields== ===Introduction=== When there are numerous tables, it is difficult for the user to see get an information that will help one to enter the right data in the right field. So instead of navigating in the relative tables and lose some t
grafted fields, grafted, sorting columns, sort, relative records, relative tables
en
field__fieldname
141
Defining Calculated Fields
Return to [[Delegate class methods]] Xataface allows you to define calculated fields using the delegate class. These fields won't be visible in the UI by default, but they will be accessible to some modules (e.g. the HTML Reports Module) and they are
calculated fields, field__fieldname
en
init
140
init() Delegate Class Method
== Synopsis == This method is called once, just after the table is loaded for the first time. It allows you to specify initialization details, such as [[setSecurityFilters|security filters]]. Note that it takes a single parameter: a Dataface_Table o
en
fieldname__default
133
fieldname__default Delegate Class Method
Return to [[Delegate class methods]] [[toc]] ===Synopsis=== Xataface allows you to pre-populate any particular field in a table by adding a fieldname__default method to the table's delegate class of the form: function fieldname__default(
default, initialize, populate, pre-populate, delegate class default
en
list:type
128
list:type relationships.ini file directive
Return to [[relationships.ini file]] [[toc]] The list:type directive allows you to override the default list that is used to display related records. As of Xataface 1.3 there is only one possible value that will have any effect on this directive: "
en
meta:class
127
meta:class relationships.ini file directive
Return to [[relationships.ini file]] [[toc]] The ''meta:class'' directive allows you to ascribe special meaning to a relationship which Xataface can use in various parts of your application to provide enhanced capabilities. For example you can sp
en
getChildren
126
getChildren Delegate Class Method
Return to [[Delegate class methods]] [[toc]] The getChildren() method can be implemented in a table's delegate class to specify the logical "child" records of a given record which can be used when creating hierarchical applications. This method wil
getChildren Delegate class method
en
getNavItem
125
getNavItem Application Delegate Class Method
Return to [[Application Delegate Class]] [[toc]] ===Synopsis=== The getNavItem() method of the application delegate class can be used to override the items that appear in the navigation menu (i.e. the menu that allows users to select the table vi
getNavItem, navigation menu
en
beforeCopy
124
beforeCopy Delegate Class Method
Return to [[Delegate class methods]] [[toc]] ===Synopsis=== A delegate class method that will be executed before a record is copied using the copy set or copy selected function. All xataface copies are shallow which means that related records ar
beforeCopy, copy records
en
afterCopy
123
afterCopy Delegate class Method
Return to [[Delegate class methods]] [[toc]] ===Synopsis=== A delegate class method that will be executed after a record is copied using the copy set or copy selected function. All xataface copies are shallow which means that related records are
afterCopy, copy record hook
en
getResetPasswordEmailInfo
122
getResetPasswordEmailInfo Application Delegate Class Method
Return to [[Application Delegate Class]] [[toc]] ===Synopsis=== Optional method to define the settings for the email that is sent to the user when they request to reset their password. Introduced in Xataface 1.3. Exists in 1.3 or higher.
forgot password, reset password
en
getPasswordChangedEmailInfo
121
getPasswordChangedEmailInfo Application Delegate Class Method
Return to [[Application Delegate Class]] [[toc]] ===Synopsis=== Optional method to define the settings for the email that is sent to the user upon successful resetting of their password using the password reset function. Introduced in Xatafac
forgot password, reset password
en
Using_RecordGrid
115
Using RecordGrid
==Xataface RecordGrid Class and Template== Also see [http://lamp.weblite.ca/dataface-0.6/docs/index.php?-table=Classes&-action=browse&ClassID=30| RecordGrid in the API Doc]. [[toc collapse=0]] ===Introduction=== As we learned in '''[http://xat
RecordGrid, Dataface_RecordGrid, data in tabular form
en
XataJax_Compiler
114
Introduction to the XataJax Compiler
Return to [[XataJax]] '''DISCLAIMER''': This page introduces features that require Xataface 1.3 or higher. At present (Jan. 2011) only Xataface 1.2.6 has been released to the public. [[toc]] ===Synopsis=== The XataJax compiler is a Javascript
XataJax, compiler, javascript, css, compiler
en
XataJax
113
Introduction to XataJax
[[toc]] Xataface 1.3 comes with a new module [[XataJax]] which comes installed standard. [[XataJax]] serves as a foundation for Javascript/AJAX powered Xataface applications and will hopefully usher in a new fresh generation of Xataface powered applic
XataJax, Ajax, Web 2.0
en
Module_Developers_Guide
112
Module Developers Guide
[[toc]] ==Why Write a Xataface Module?== Xataface modules are components that can be used to extend Xataface's functionality in a generic way so that it can be used on multiple applications. If you find yourself trying to add the same functionality
modules
en
Relationship_Permissions
111
Relationship Permissions
[[toc]] ==Synopsis== As relationships are a core feature of Xataface, it is helpful to understand how to handle permissions on related records. Even if you apply permissions to every table individually, you need to take into account the relationshi
relationships, permissions, rel_relationshipname__permissions, getPermissions, permissions.ini
en
Contribute_to_Xataface_Translation_Project
110
How to Contribute Translations
[[toc]] ==Synopsis== Xataface stores its translations in INI files in its lang directory, one for each language. You can develop your own translation by first copying the en.ini file to xx.ini (where xx is the ISO language code for the language you
Translations, Google Spreadsheets, en.ini, fr.ini
en
beforeSave
109
beforeSave Trigger
Back to [[Delegate class methods]] [[toc]] ===Synopsis=== The beforeSave trigger can be implemented in any table's [[delegate class|Delegate Class Methods]] to perform functionality that should be run *before* a record of that table is saved.
triggers, beforeSave,
en
beforeAddRelatedRecord
108
beforeAddRelatedRecord Delegate Class Method
Return to [[Delegate class methods]] [[toc]] ==Synopsis== The ''beforeAddRelatedRecord'' delegate class method can be implemented in any table's delegate class. It will be executed before any related record is added to that table's relationships
beforeAddRelatedRecord, Delegate class methods, relationship triggers
en
beforeHandleRequest
107
beforeHandleRequest Application Delegate Class Method
Return to [[Application Delegate Class]] [[toc]] ===Synopsis=== The beforeHandleRequest method is a very useful hook that can be implemented in an [[Application Delegate Class]] to perform some processing before every request. This hook is c
beforeHandleRequest, Application Delegate
en
__global__
106
__global__ section for the fields.ini file
Return to [[fields.ini file]] [[toc]] ===Synopsis=== The fields.ini file supports a __global__ section that applies to all fields in the current table. This is particularly useful for setting up default functionality that you wish to see on all
__global__, fields.ini, visibility:list
en
Found 135 records
1
2
3
4
5
Next
Showing
Results per page
Powered by Xataface
(c) 2005-2010 All rights reserved