static function create( $contentObjectID )
    {
        // Still missing data for paex, try to complete it from user groups
        $ini = eZINI::instance( 'mbpaex.ini' );

        // Get default values from ini
        $iniPasswordValidationRegexp = $ini->variable( 'mbpaexSettings', 'PasswordValidationRegexp' );
        $iniDefaultPasswordLifeTime  = $ini->variable( 'mbpaexSettings', 'DefaultPasswordLifeTime' );
        $iniExpirationNotification   = $ini->variable( 'mbpaexSettings', 'ExpirationNotification' );

        $row = array(
            'contentobject_id' => $contentObjectID,
            'passwordvalidationregexp' => $iniPasswordValidationRegexp,
            'passwordlifetime' => $iniDefaultPasswordLifeTime,
            'expirationnotification' => $iniExpirationNotification,
            'password_last_updated' => 0,
            'updatechildren' => self::NOT_DEFINED,
            'expirationnotification_sent' => 0
            );

        return new eZPaEx( $row );
    }
static function create( $contentObjectID )
    {
        // Still missing data for paex, try to complete it from user groups
        $ini = eZINI::instance( 'mbpaex.ini' );

        // Get default values from ini
        $iniPasswordValidationRegexp = $ini->variable( 'mbpaexSettings', 'PasswordValidationRegexp' );
        $iniDefaultPasswordLifeTime  = $ini->variable( 'mbpaexSettings', 'DefaultPasswordLifeTime' );
        $iniExpirationNotification   = $ini->variable( 'mbpaexSettings', 'ExpirationNotification' );

        $row = array(
            'contentobject_id' => $contentObjectID,
            'passwordvalidationregexp' => $iniPasswordValidationRegexp,
            'passwordlifetime' => $iniDefaultPasswordLifeTime,
            'expirationnotification' => $iniExpirationNotification,
            'password_last_updated' => 0,
            'updatechildren' => self::NOT_DEFINED,
            'expirationnotification_sent' => 0
            );

        return new eZPaEx( $row );
    }
static function create ( $ contentObjectID ) { // Still missing data for paex, try to complete it from user groups $ ini = eZINI :: instance ( 'mbpaex.ini' ) ; // Get default values from ini $ iniPasswordValidationRegexp = $ ini -> variable ( 'mbpaexSettings' , 'PasswordValidationRegexp' ) ; $ iniDefaultPasswordLifeTime = $ ini -> variable ( 'mbpaexSettings' , 'DefaultPasswordLifeTime' ) ; $ iniExpirationNotification = $ ini -> variable ( 'mbpaexSettings' , 'ExpirationNotification' ) ; $ row = array ( 'contentobject_id' => $ contentObjectID , 'passwordvalidationregexp' => $ iniPasswordValidationRegexp , 'passwordlifetime' => $ iniDefaultPasswordLifeTime , 'expirationnotification' => $ iniExpirationNotification , 'password_last_updated' => 0 , 'updatechildren' => self :: NOT_DEFINED , 'expirationnotification_sent' => 0 ) ; return new eZPaEx ( $ row ) ; }
Creates a default ezpaex object for the corresponding contentobject_id

@param int $contentObjectID contentobject id of the ezpaex object
@return eZPaEx object
Creates a default ezpaex object for the corresponding contentobject_id