Skip to content

Instantly share code, notes, and snippets.

View ppadron's full-sized avatar

Pedro Padron ppadron

View GitHub Profile
<ul id="faq">
<li>
<a href="#intro">1. Introdução</a><br/>
<ol>
<li><a href="#auth">1.1 Autenticação</a></li>
<li><a href="#format">1.2 Formato de Dados</a></li>
<li>
<a href="#response-codes">Códigos de Resposta</a><br/>
<ul>
<li><a href="#response-codes-success">Sucesso</a></li>
<?php
$po = new Po4a(array(
'masterTranslationFile' => "{$this->translationsDir}/%master.pot",
'translationFile' => "{$this->translationsDir}/%master-%lang.po",
'sourceLanguage' => 'pt',
'targetLanguages' => array('en', 'es', 'de'),
'force' => true,
'files' => array(
array(
$vt = new VirtualTarget('usuario', 'senha');
<?php
/**
* PHP version 5
*
* @package konstati
* @author Pedro Padron <ppadron@w3p.com.br>
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
*/
<?php
$items = array(
array('componentType' => 'Jsw.Pathbar.Item', 'title' => 'Page 1', 'href' => '/my/page/1'),
array('componentType' => 'Jsw.Pathbar.Item', 'title' => 'Page 2', 'href' => '/my/page/2')
array('componentType' => 'Jsw.Pathbar.Item', 'title' => 'Page 3', 'href' => '/my/page/3')
);
?>