Class RSDEngineLiveUserRight

Description

This class represents a LiveUser table option that is used to define the rights the current user must have to perform certain operations.

Located in /code/framework/RSDEngine/RSDEngineDBTable.php (line 5911)


	
			
Variable Summary
Method Summary
RSDEngineLiveUserRight RSDEngineLiveUserRight (Array $options)
String toString ()
Variables
String $columnName = '' (line 5929)

The name of the column that stores the rightId. This property is only used if $this->type is 'column' or 'table.column'.

  • access: public
String $condition = '' (line 5966)

The PHP code to execute to get a boolean value that indicates if the user is allowed to perform this operation or not.

If this property is set $this->type will be set to 'PHP_CODE'.

  • access: public
String $definition = '' (line 5959)

The definition of this LiveUser right as table option.

  • access: public
String $operation = '' (line 5917)

The name of the operation this right is required for. Possible values are 'select', 'insert', 'update', 'delete' and 'undefined'.

  • access: public
String $phpCode = '' (line 5953)

The PHP code to execute to get the rightId. This property is only used if $this->type is 'PHP_CODE'.

  • access: public
String $query = '' (line 5947)

The SQL code to pass to the method $this->db->getOne to get the rightId. This property is only used if $this->type is 'SQL_QUERY'.

  • access: public
String $recordCondition = '' (line 5973)

The PHP code to execute for every record to get a boolean value that indicates if the user is allowed to perform this operation on the specific record or not.

If this property is set $this->type will be set to 'PHP_CODE'.

  • access: public
RSDEngineRelation $relationToSelectIncludingTable = null (line 5982)

The relation to the table (class) that contains the selectIncludingMethod.

This property is used for LiveUserRight:insert:rightId=table.column.

String $selectIncludingMethodName = '' (line 5941)

The name of the selectIncluding* method used to perform the join over $tableName. This property is only used if $this->type is 'table.column'.

  • access: public
String $tableName = '' (line 5935)

The name of the table that contains $columnName. This property is only used if $this->type is 'table.column'.

  • access: public
String $type = '' (line 5923)

The type of LiveUserTableOption. Can be one of the following strings: 'column', 'table.column', 'SQL_QUERY' or 'PHP_CODE'.

  • access: public
Methods
Constructor RSDEngineLiveUserRight (line 5987)

The constructor method.

RSDEngineLiveUserRight RSDEngineLiveUserRight (Array $options)
  • Array $options: An associative array. All values that have a key that is named like a property of this class are assigned to that property.
toString (line 6000)

Return a literal representation of this instance.

String toString ()

Documentation generated on Mon, 8 Dec 2003 13:12:24 +0100 by phpDocumentor 1.2.3