public function light()
    {
        $forms = safe_column(
            'name',
            'txp_form',
            '1 = 1'
        );

        $beacon = new Rah_Beacon_Handler();

        foreach ($forms as $name) {
            if (!preg_match('/^[a-z][a-z0-9_]*$/', $name)) {
                trace_add('[rah_beacon: '.$name.' skipped]');
                continue;
            }

            Txp::get('Textpattern_Tag_Registry')->register(array($beacon, $name), $name);
        }
    }
public function light()
    {
        $forms = safe_column(
            'name',
            'txp_form',
            '1 = 1'
        );

        $beacon = new Rah_Beacon_Handler();

        foreach ($forms as $name) {
            if (!preg_match('/^[a-z][a-z0-9_]*$/', $name)) {
                trace_add('[rah_beacon: '.$name.' skipped]');
                continue;
            }

            Txp::get('Textpattern_Tag_Registry')->register(array($beacon, $name), $name);
        }
    }
public function light ( ) { $ forms = safe_column ( 'name' , 'txp_form' , '1 = 1' ) ; $ beacon = new Rah_Beacon_Handler ( ) ; foreach ( $ forms as $ name ) { if ( ! preg_match ( '/^[a-z][a-z0-9_]*$/' , $ name ) ) { trace_add ( '[rah_beacon: ' . $ name . ' skipped]' ) ; continue ; } Txp :: get ( 'Textpattern_Tag_Registry' ) -> register ( array ( $ beacon , $ name ) , $ name ) ; } }
Registers forms as tags.
Registers forms as tags .