zf
$upload = new Zend_File_Transfer(); でかならずImplementation in progressといわれるZend_File_Transferのソース見ると public function __construct($protocol = null) { require_once 'Zend/File/Transfer/Exception.php'; throw new Zend_File_Transfe…
urlがhoge-moge-fuga の場合は hogeMogeFugaActionが呼ばれ hoge-moge-fuga.phtmlが呼ばれるみたい
ふつーに使おうとしたらオペランドがどうこういわれた $client = new Zend_XmlRpc_Client('http://example.com/api/xmlrpc'); $client->call('Hogehoge.entry'); とふつーに使おうとしたら Fatal error: Unsupported operand types in /usr/local/php/lib/ph…
そのままだと動かないよclient public function xmlrpcAction(){ try{ $client = new Zend_XmlRpc_Client('http://example.com/xmlrpcs'); // object $model = new Tables_User(); $users = $model->fetchAll(); // array // $pingData = array(array("TEST …
自前Validateクラスの中身をZFに置き換えるやりかた http://www.high5.msn.to/blog/blog_day.php?in_sequence=2371 これが、正解かも
smarty関連 ZFのviewどうしようかと思ってた件は、今までの経験と資産がもったいないのでやっぱり、smartyでいくことにした。renderもsmarty。 Zend_Viewは使わない SJIS吐き出しとかは,smartyのoutputfilterにする abstractActionのinit()で初期処理する ab…
qmqilからくるmailはDateがに曜日がついてない。 曜日はRFC_2822ではオプション.メールとってDateをZend_Dateにくわせるとき $Date = new Zend_Date($pheader["Date"], Zend_Date::RFC_2822);だと、エラーになる。 $date = new Zend_Date(strtotime($pheader…
memcachedがつかいたい memcachedが入ってるということにして、 php pecl install memcacheで,php.iniに extension=memcache.soを足すとつかえる Zend_Cache_Frontend_Classだと cache_idが特定できない?→これだけ消すとかできない? ような気がする なので…