in file ComponentSpec.class.php, method __ComponentSpec::addDefaultValue() Set a default value associated to the component represented by current instance
in file I18n.class.php, method __I18n::addLocale() This method adds a new __Locale to the internal collection of locales, and set it as the default locale
in file AsyncMessageHeader.class.php, class constant __AsyncMessageHeader::ASYNC_MESSAGE_STATUS_ERROR The server encountered an unexpected condition which prevented it from fulfilling the request.
in file UIBindingManager.class.php, method __UIBindingManager::bindFromClientToServer() Binds a server end-point to a client end-point (internally, it creates a __UIBinding instance), allowing the synchronization from client to server but not the oposite way It also set the bound direction to __IEndPoing::BIND_DIRECTION_C2S to both end-points
bindFromServerToClient
in file UIBindingManager.class.php, method __UIBindingManager::bindFromServerToClient() Binds a server end-point to a client end-point (internally, it creates a __UIBinding instance), allowing the synchronization from server to client but not the oposite way It also set the bound direction to __IEndPoing::BIND_DIRECTION_S2C to both end-points
BIND_DIRECTION_ALL
in file IEndPoint.interface.php, class constant __IEndPoint::BIND_DIRECTION_ALL BIND_DIRECTION_ALL used to allow the synchonization from client to server and the oposite way
BIND_DIRECTION_C2S
in file IEndPoint.interface.php, class constant __IEndPoint::BIND_DIRECTION_C2S BIND_DIRECTION_C2S (Client 2 Server) used to allow the synchronization from client to server but not the oposite way
BIND_DIRECTION_S2C
in file IEndPoint.interface.php, class constant __IEndPoint::BIND_DIRECTION_S2C BIND_DIRECTION_S2C (Server 2 Client) used to allow the synchronization from server to client but not the oposite way
in file UserSession.class.php, method __UserSession::checkAccess() This method is very similar to the hasAccess method.
checkAccess
in file AuthorizationManager.class.php, method __AuthorizationManager::checkAccess() This method calls to the __UserSession checkAccess method in order to know if current user has granted the access to a system's resource, calling to the onAccessError method of the system resource if the user hasn't access to that.
in file Permission.class.php, method __Permission::checkPermission() Overrideable method designed to check in runtime for a given permission dynamically.
in file ClientNotificator.class.php, method __ClientNotificator::clearDirty() Sets as undirty all the components (internally, reset the array of references to dirty components)
in file ItemListComponent.class.php, method __ItemListComponent::cmpItems() Compares two items and return a numeric value representing the comparison result
in file ComponentFactory.class.php, method __ComponentFactory::createComponent() Factory method for component creation according to the given parameters.
in file ExceptionFactory.class.php, method __ExceptionFactory::createException() Creates a new __LionException children instance (depending on the error_id parameter).
in file Iterator.class.php, method __Iterator::currentItem() This method returns the element in the current position of the internal pointer.
currentKey
in file Iterator.class.php, method __Iterator::currentKey() This method returns the key of the element in the current position of the internal pointer.
in file ActionDispatcher.class.php, method __ActionDispatcher::dispatch() Dispatch an action. If the action code is not specified, it will be used the default (ACTION_CODE_ON_ACTION_NOT_SPECIFIED).
in file ActionBoxComponent.class.php, method __ActionBoxComponent::executeAction() Executes the action associated to the current actionbox, setting the result to the actionbox response.
in file LionException.class.php, method __LionException::executeCustomAction() This method will be called for all __LionException deriveds instances in order to execute custom actions depending the exception type
executeFilter
in file ComponentFilter.class.php, method __ComponentFilter::executeFilter() This method executes a filter that detect special tag <component:xxx> and generates code according to the component type
in file TemplateEngineView.class.php, variable __TemplateEngineView::$filterStack This is the array that will contain all filters for current __View instance.
in file Collection.class.php, method __Collection::fromArray() Populates the current collection from a given array of items Note: This method does not call internally to the add method for each item
in file ISessionHandler.interface.php, method __ISessionHandler::gc() This method is called in order to specify the maximum time to invalidate the session
get
in file Collection.class.php, method __Collection::get() This method retrieves an element from the collection
in file ValidationRuleComponent.class.php, method __ValidationRuleComponent::getAcceptance() Get if an associated checkbox (or boolean-domain component) must be checked to be valid.
getAction
in file UriComponent.class.php, method __UriComponent::getAction() Get the action code set to the current component
getAction
in file FormComponent.class.php, method __FormComponent::getAction() Get the action id to be used by the url routing engine to build the target url
in file Request.class.php, method __Request::getActionCode() Returns the action code (if it has been specified as a parameter) associated to the current request
in file SliderComponent.class.php, method __SliderComponent::getAxis() Get the axis in which the slider will be rendered in
getBaseDir
in file Context.class.php, method __Context::getBaseDir() Gets the root directory where the application represented by the context container is located at
getBindingCodes
in file UIComponent.class.php, method __UIComponent::getBindingCodes() Gets all the binding codes associated to current component
in file IEndPoint.interface.php, method __IEndPoint::getBoundDirection() Get a value representing the bound direction (server to client, client to server or both)
in file JavascriptComponent.class.php, method __JavascriptComponent::getCheckingVariables() Get an array of checking variables, variables to be checked if exist to ensure that .js files has been downloaded successfully.
in file ClassLoader.class.php, method __ClassFileLocator::getClassFile() This function will return an array with all necessaries files to include to load a class
in file ClientCallback.class.php, method __ClientCallback::getClientCommandClass() Abstract method that inform about the client command class to be used to execute the callback
in file View.class.php, method __View::getCode() This method gets the code associated to the current view. If it's not setted, it will taked from the name of the class instead of
in file JavascriptOnDemand.class.php, method __JavascriptOnDemand::getCommand() Get a command representing the current end-point, just in case the client is unsynchronized
getCommand
in file ClientCallback.class.php, method __ClientCallback::getCommand() Get the command representing the call to the client-side method and set the current end-point as synchronized
in file IEventHandler.interface.php, method __IEventHandler::getComponent() Gets a component identified by a name and (optional) an index in case of component arrays
in file ValidationRuleComponent.class.php, method __ValidationRuleComponent::getComponent() Retrieves the component name that current validation rule is regarding to
getComponent
in file EventHandler.class.php, method __EventHandler::getComponent() Get the component that corresponds with a given name
in file ComponentHandler.class.php, method __ComponentHandler::getComponentId() Gets the component identifier that corresponds with a given component name.
getComponentIds
in file ComponentHandler.class.php, method __ComponentHandler::getComponentIds() Gets all the component identifiers associated to current component handler
in file ComplexConfigurationComponent.class.php, method __ComplexConfigurationComponent::getComponentPosition() Returns the component rank in its parent children array according to other components with same type and name.
in file ValidationRuleComponent.class.php, method __ValidationRuleComponent::getComponentToMatch() Get the component to validate if the associated component's value match with the given compoennt's value
in file EventHandler.class.php, method __EventHandler::getContainerActionBox() Get the container actionbox where the current view has been rendered in (if applicable)
in file ConfigurationComponent.class.php, method __ConfigurationComponent::getContext() Returns the __Context instance associated to the current configuration component.
getContext
in file Configuration.class.php, method __Configuration::getContext() This method returns the __Context instance that contains the current __Configuration.
in file ResourceManager.class.php, method __ResourceManager::getContextInstance() This method return a singleton instance of __ResourceManager associated to a context id
in file ActionBoxComponent.class.php, method __ActionBoxComponent::getController() Get the controller code corresponding to the controller to be executed to
in file FormComponent.class.php, method __FormComponent::getController() Get the controller id to be used by the url routing engine to build the target url
in file Request.class.php, method __Request::getControllerCode() Returns the action code (if it has been specified as a parameter) associated to the current request
in file ComponentSpec.class.php, method __ComponentSpec::getDefaultValue() Get the default value associated to the component represented by current instance
in file Role.class.php, method __Role::getEquivalentPermission() Get an equivalent __Permission instance containing all the permissions that belong to current instances plus all his junior roles.
in file UICompositeComponent.class.php, method __UICompositeComponent::getEventHandler() Get the __ICompositeComponentEventHandler instance associated to the current component
in file EventListener.class.php, method __EventListener::getEventToListen() This method returns the list of events that current __EventListener is suscribed for.
getEventType
in file Event.class.php, method __Event::getEventType() This method returns a code that identify the event type
in file LionException.class.php, method __LionException::getExceptionType() All custom exception will have the getExceptionType method in order to clasify all exceptions By default, the error will be an ERR_CRITICAL
in file FileResolver.class.php, method __FileResolver::getFilesMatchingPattern() Get a pattern and a directory, and returns an array of filenames matching the given pattern
in file ValidationRuleComponent.class.php, method __ValidationRuleComponent::getFormat() Gets the identifier representing the valid format to validate as
in file FormComponent.class.php, method __FormComponent::getHiddenParameters() Get the array of parameters to be rendered as hidden parameters within the form
in file ItemListComponent.class.php, method __ItemListComponent::getItemValues() Get an array of pair key,values representing items contained within the current list component
getIterator
in file Collection.class.php, method __Collection::getIterator() This method returns an iterator for the collection.
in file JavascriptComponent.class.php, method __JavascriptComponent::getJsFiles() Get an array of .js file paths to be loaded before executing the javascript code enclosed by the component.
in file ValidationRuleComponent.class.php, method __ValidationRuleComponent::getMatchComponent() Get the name of a component to validate if the associated component's value match with the given compoennt's value
in file ComponentSpec.class.php, method __ComponentSpec::getName() Gets the name property associated to the component, or the component spec id if no names was set.
in file Request.class.php, method __Request::getParameters() This method is an alias of getAllParameters method
getParameters
in file UriComponent.class.php, method __UriComponent::getParameters() Get the comma-separate list of parametes set to the current component
getParameters
in file ActionBoxComponent.class.php, method __ActionBoxComponent::getParameters() Get an array of parameters set to be sent within the local request to the action
in file IEventHandler.interface.php, method __IEventHandler::getParentViewCode() Gets the parent view code associated to current event handler (if applicable)
getParentViewCode
in file EventHandler.class.php, method __EventHandler::getParentViewCode() Gets the parent view code associated to current event handler (if applicable)
in file Configuration.class.php, method __Configuration::getProperty() This method search for a __ConfigurationProperty instance filtering by name, content, attributes and/or index.
in file IActionController.interface.php, method __IActionController::getRequireSsl() Getter for _require_ssl member Get if current action controller requires SSL protocol to be executed.
getResource
in file ResourceManager.class.php, method __ResourceManager::getResource() This method will returns a resource identified by a key.
in file ActionBoxComponent.class.php, method __ActionBoxComponent::getResponse() Get the response that the current actionbox will be render to the client
in file ListBoxComponent.class.php, method __ListBoxComponent::getRows() Get the number of rows (an item in each row) that will be shown at the same time
in file ComplexConfigurationComponent.class.php, method __ComplexConfigurationComponent::getSection() Returns the requested section. If the section has associated a __ISectionHandler instance, them returns the result of calling to the processSection method.
in file ItemListComponent.class.php, method __ItemListComponent::getSelectionMode() Get an string representing the selection mode set to the current list component
in file Configuration.class.php, method __Configuration::getSettings() Returns all the registered properties (settings) within the current configuration instance
in file ClientCallback.class.php, method __ClientCallback::getSetupCommand() Callbacks are not executed on startup, but set as synchronized the current end-point
in file Request.class.php, method __Request::getSubmitCode() Returns the submit code (if it has been specified as a parameter) associated to the current request
in file Authenticator.class.php, method __Authenticator::getUserLoader() Get the __IUserLoader instance that belong to the current __AuthorizationManager
in file ValidationRuleComponent.class.php, method __ValidationRuleComponent::getValidationResult() Get the last validation result (a boolean indicating if the component was validated successfully or if any error was raised)
in file ViewResolver.class.php, method __ViewResolver::getView() This method returns an __View child instance that correspond with a specified view code.
in file AuthorizationManager.class.php, method __AuthorizationManager::hasAccess() This method calls to the __UserSession hasAccess method in order to know if current user has granted the access to a system's resource
hasAccess
in file IUser.interface.php, method __IUser::hasAccess() Checks if current user has access to a given system resource
hasAccess
in file UserSession.class.php, method __UserSession::hasAccess() Return true if active roles in session contains the required permission to access to the system resource.
hasAccess
in file User.class.php, method __User::hasAccess() Checks if current user has permission to access to a given system resource
hasAccessToUrl
in file AuthorizationManager.class.php, method __AuthorizationManager::hasAccessToUrl() Checks if current user has access to a given url. This method just check if the action controller that will be executed as consequence of the url is accessible by the current user.
in file Iterator.class.php, method __Iterator::isDone() This method returns true or false depending on if the internal pointer is beyond the end of the array.
in file ConfigurationComponent.class.php, method __ConfigurationComponent::isEqual() This method returns true if the parameter passed has the same type
in file IActionController.interface.php, method __IActionController::isHistoriable() Get if current action can be logged in the history registry or not.
in file Permission.class.php, method __Permission::isJuniorPermissionOf() This method check if current permission has at least the same number of permissions that the given one. It means that current permission is at least a subset of the given one.
in file ModelProxy.class.php, method __ModelProxy::isRemote() Alias of {$link __ModelProxy::isRemoteService()}
isRemoteService
in file ModelProxy.class.php, method __ModelProxy::isRemoteService() Gets if a service has been declared as remote, which means that the service can be called remotelly
isRequestable
in file IActionController.interface.php, method __IActionController::isRequestable() Get if current action controller can be requested directly by the user or not.
in file ActionBoxComponent.class.php, method __ActionBoxComponent::isUnsynchronized() For interal usage only, this method checks if the current response can be rendered to the client
in file ResourceProvider.class.php, method __ResourceProvider::loadResources() This method will load language specific resources from the concrete storage media
in file FileLocator.class.php, method __FileLocator::locateFile() Returns the path corresponding to a given file name
locateTemplateFile
in file TemplateEngineView.class.php, method __TemplateEngineView::locateTemplateFile() Given a template file, we will attempt to resolve the path of the template filename
in file AuthenticationManager.class.php, method __AuthenticationManager::logon() This method perform the logon operation by checking the specified credentials for the specified user, changing the user and user_session according to the
in file ComponentHandler.class.php, method __ComponentHandler::markComponentAsRendered() Mark a component as rendered in the current view instance. All components that are not rendered are not marked for expiration, which means that they will be removed once the view is rendered
in file ClientNotificator.class.php, method __ClientNotificator::notify() Sends to client an async message containing all pending status change notifications
in file SystemResource.class.php, method __SystemResource::onAccessError() This method is executed each time the system resource is tried to be accessed without having the associated permission.
in file AuthorizationManager.class.php, method __AuthorizationManager::onRequiredPermissionAssignment() This method is called everytime the EVENT_ON_REQUIRED_PERMISSION_ASSIGNMENT event is raised, which means that a __SystemResource instance has acquired permissions and need to check if current user has access to then
in file ActionController.class.php, method __ActionController::postExecute() This method will be executed after the execution of the action controller main logic.
in file ActionController.class.php, method __ActionController::preExecute() Execute a 'pre-logic' before to the execution of the action logic itself. i.e., for check pre-conditions or just to execute other actions previously to the current one.
in file LionAdminFilter.class.php, method __LionAdminFilter::preFilter() Switch the context to lion admin application, just in case the REQUEST_LION_ADMIN_AREA parameter is present within the request
in file ISectionHandler.interface.php, method __ISectionHandler::process() Implemented by all configuration section handlers in order to transform a __ConfigurationSection instance in tems of application components.
in file ActionBoxComponent.class.php, method __ActionBoxComponent::refresh() Forces the execution of the current action, refreshing the results in the action box
in file ErrorTable.class.php, method __ErrorTable::registerErrorCode() Register an error code, the associated error id and (optionally) the group that belong to
in file Configuration.class.php, method __Configuration::registerProperty() Register a __ConfigurationProperty in cache for quickly access without know the route/level where the property
in file I18n.class.php, method __I18n::removeLastLocale() This method removes the last setted locale (that it's also the default locale), making the previous setted locale the default one (if exists).
removeLocales
in file I18n.class.php, method __I18n::removeLocales() This method removes all stored locales, resetting the internal array of locales to zero components
in file IEventHandler.interface.php, method __IEventHandler::resetValueHolders() Reset the value of all the valueholder components associated to current event handler
in file FileResolver.class.php, method __FileResolver::resolveFiles() Get an expression and returns a collection of files matching the expression
resolveInstance
in file InstanceResolver.class.php, method __InstanceResolver::resolveInstance() This method receives a path to access to an instance and returns a reference to the instance.
in file ValidationRuleComponent.class.php, method __ValidationRuleComponent::setAcceptance() Set if an associated checkbox (or boolean component) must be checked to be valid.
in file Uri.class.php, method __Uri::setActionIdentity() This method set the action code associated to current uri
setActionIdentity
in file Request.class.php, method __Request::setActionIdentity() Set the parameters for controller + action by specifying an action identity (which contains both values)
in file IEndPoint.interface.php, method __IEndPoint::setBoundDirection() Set a value representing the bound direction (client to server, server to client or both)
in file JavascriptComponent.class.php, method __JavascriptComponent::setCheckingVariables() Set a collection of checking variables, variables to be checked if exist to ensure that .js files has been downloaded successfully.
setClass
in file Annotation.class.php, method __Annotation::setClass() Set the class where the annotation is located in
in file UICompositeComponent.class.php, method __UICompositeComponent::setComponentInterfaceSpec() Get a component interface specification as a mapping between composite properties and real target properties
in file FormComponent.class.php, method __FormComponent::setController() Set the controller to be used by the url routing engine to build the target url
in file ActionBoxComponent.class.php, method __ActionBoxComponent::setController() Set the controller code corresponding to the controller to be executed to
in file FileBoxComponent.class.php, method __FileBoxComponent::setCurrentSize() To be used internally by the framework, set the in-progress uploaded file portion size
in file ComponentSpec.class.php, method __ComponentSpec::setDefaultValues() Set all the default values associated to the component represented by current instance
in file ClientNotificator.class.php, method __ClientNotificator::setDirty() Sets as dirty a given component, which will be checked for client notifications
in file ValidationRuleComponent.class.php, method __ValidationRuleComponent::setFormat() Sets an identifier representing the valid format to validate as i.e. 'email' to validate emails values
in file FormComponent.class.php, method __FormComponent::setHiddenParameters() Set an array of parameters to be rendered as hidden parameters within the form
in file IActionController.interface.php, method __IActionController::setHistoriable() Set if current action can be logged in the history registry or not.
in file FileBoxComponent.class.php, method __FileBoxComponent::setIcon() Set the url to an image to be shown closet to the filebox in case the status is UPLOAD_STATUS_DONE.
in file ClientCallback.class.php, method __ClientCallback::setInstance() Set the client instance identifier that contains the method to be executed to (i.e. a javascript variable name or an html element id)
in file ItemListComponent.class.php, method __ItemListComponent::setItemValues() Set an array of pair key,values representing items to be contained within the current list component
in file JavascriptComponent.class.php, method __JavascriptComponent::setJsFiles() Set a collection of .js file paths to be loaded before executing the javascript code enclosed by the component.
in file ValidationRuleComponent.class.php, method __ValidationRuleComponent::setMatchComponent() Set the name of a component to validate if the associated component's value match with the given component's value
in file ActionBoxComponent.class.php, method __ActionBoxComponent::setParameters() Set all the parameters in one-time call. Parameters can be either an array of pair key,value, or a comma-separated list of pairs
setParameters
in file FormComponent.class.php, method __FormComponent::setParameters() Set a list of parameters (either an array or a comma-separated list) to be sent within the form submit.
setParameters
in file Uri.class.php, method __Uri::setParameters() Set a collection of parameters associated to current instance
in file EventHandler.class.php, method __EventHandler::setParentViewCode() Sets the parent view code, corresponding to a parent viewport (if applicable) i.e., if current view is contained in an actionbox, the parent viewcode is the view containing the actionbox
setParentViewCode
in file IEventHandler.interface.php, method __IEventHandler::setParentViewCode() Sets the parent view code, corresponding to a parent viewport (if applicable) i.e., if current view is contained in an actionbox, the parent viewcode is the view containing the actionbox
in file IActionController.interface.php, method __IActionController::setRequireSsl() Set if current action controller requires SSL protocol to be executed.
in file ActionBoxComponent.class.php, method __ActionBoxComponent::setResponse() Set the response that the current actionbox must render to the client.
in file SessionManager.class.php, method __SessionManager::setSessionHandler() Set the session handler, that is the class in charge of handling session storage.
in file CommandButtonComponent.class.php, method __CommandButtonComponent::setSrc() Set the image location associated to the current button (in case the button is type="image"
in file FileBoxComponent.class.php, method __FileBoxComponent::setTempFile() To be used internally by the framework, to set the name of the temporal file where the uploaded file is stored temporally
in file Cookie.class.php, method __Cookie::setTtl() Sets the ttl in secons
setType
in file CommandButtonComponent.class.php, method __CommandButtonComponent::setType() Set the type attribute associated to the button (same as the HTML button type attribute)
in file ValidationRuleComponent.class.php, method __ValidationRuleComponent::setValidFormat() Set the valid format allowed to the related component by specifying a regular expression
in file CheckBoxComponent.class.php, method __CheckBoxComponent::setValue() Set the value associated to the current checkbox (true as checked, false as unchecked)
in file OptionBoxComponent.class.php, method __OptionBoxComponent::setValue() Set a value for current optionbox. Value is boolean, representing checked optionbox as true.
in file ToggleButtonComponent.class.php, method __ToggleButtonComponent::setValue() Set the value associated to the current toggle button (true as pressed, false as unpressed)