public static function renameAssociation($from, $to = NULL) { if (is_array($from)) { foreach ($from as $key => $value) { self::$renames[$key] = $value; } return; } self::$renames[$from] = $to; }
/** * Facade method for AQueryWriter::renameAssociation() * * @param string|array $from * @param string $to * * @return void */ public static function renameAssociation($from, $to = NULL) { AQueryWriter::renameAssociation($from, $to); }